package com.bright.ghj.overt.service;

import com.bright.ghj.overt.pojo.vo.SaveFileResultVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @Author hxj
 * @Date 2024/3/8 11:39
 * @Description 兼容多种文件存储方式
 */
public interface StoreFileService {

    /**
     *
     * @param file
     * @param baseDir
     * @return
     * @throws IOException
     */
    List<SaveFileResultVO> saveFile(List<MultipartFile> file, String baseDir) throws IOException;

}
